Skip to main content

CDocBuilderContext

Class used by ONLYOFFICE Document Builder for getting JS context for working.

Syntax

class CDocBuilderContext

Instance Methods

NameDescription
CreateArrayCreates an array, an analogue of new Array (length) in JS.
CreateNullCreates a null value, an analogue of null in JS.
CreateObjectCreates an empty object, an analogue of {} in JS.
CreateScopeCreates a context scope.
CreateTypedArrayCreates a Uint8Array value, an analogue of Uint8Array in JS.
CreateUndefinedCreates an undefined value, an analogue of undefined in JS.
GetGlobalReturns the global object for the current context.
IsErrorChecks for errors in JS.